// Author	: damphat@gmail.com
// Created	: 01/12/2008

#pragma once

#define BEGIN_ENUM(enumname)				\
	struct enumname {						\
	private: int value;						\
	public:									\
		enumname(int i = 0) : value(i) { }	\
		operator int() { return value; }	\
		enum {

#define END_ENUM };};
